package com.accenture.portal.model.user;

import java.util.Date;
import java.util.List;

import com.accenture.portal.model.Level;
import com.accenture.portal.model.Scheduling;

public class User {
	private Integer user_id;
	private String user_name;
	private String user_password;
	private String user_cellphone;
	private String user_email;
	private String user_address = "sd";
	private String user_image;
	private Integer user_levelid;
	private Level level;
	private Integer loginErrorTimes;
	private Date idCreatTime;
	private Date pwCreatTime;
	private Integer user_flag;
	private List<Scheduling> scheduling;
	
	public User() {
		super();
	}
	
	public User(String user_name, String user_password, String user_cellphone, String user_email, String user_address, String user_image, Integer user_levelid, Level level, Integer loginErrorTimes, Date idCreatTime, Date pwCreatTime, Integer user_flag) {
		super();
		this.user_name = user_name;
		this.user_password = user_password;
		this.user_cellphone = user_cellphone;
		this.user_email = user_email;
		this.user_address = user_address;
		this.user_image = user_image;
		this.user_levelid = user_levelid;
		this.level = level;
		this.loginErrorTimes = loginErrorTimes;
		this.idCreatTime = idCreatTime;
		this.pwCreatTime = pwCreatTime;
		this.user_flag = user_flag;
	}
	
	public User(Integer user_id, String user_name, String user_password, String user_cellphone, String user_email, String user_address, String user_image, Integer user_levelid, Level level, Integer loginErrorTimes, Date idCreatTime, Date pwCreatTime, Integer user_flag) {
		super();
		this.user_id = user_id;
		this.user_name = user_name;
		this.user_password = user_password;
		this.user_cellphone = user_cellphone;
		this.user_email = user_email;
		this.user_address = user_address;
		this.user_image = user_image;
		this.user_levelid = user_levelid;
		this.level = level;
		this.loginErrorTimes = loginErrorTimes;
		this.idCreatTime = idCreatTime;
		this.pwCreatTime = pwCreatTime;
		this.user_flag = user_flag;
	}
	
	public Integer getUser_id() {
		return user_id;
	}
	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}
	public String getUser_name() {
		return user_name;
	}
	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}
	public String getUser_password() {
		return user_password;
	}
	public void setUser_password(String user_password) {
		this.user_password = user_password;
	}
	public String getUser_cellphone() {
		return user_cellphone;
	}
	public void setUser_cellphone(String user_cellphone) {
		this.user_cellphone = user_cellphone;
	}
	public String getUser_email() {
		return user_email;
	}
	public void setUser_email(String user_email) {
		this.user_email = user_email;
	}
	public String getUser_address() {
		return user_address;
	}
	public void setUser_address(String user_address) {
		this.user_address = user_address;
	}
	public String getUser_image() {
		return user_image;
	}
	public void setUser_image(String user_image) {
		this.user_image = user_image;
	}
	public Integer getUser_levelid() {
		return user_levelid;
	}
	public void setUser_levelid(Integer user_levelid) {
		this.user_levelid = user_levelid;
	}
	public Level getLevel() {
		return level;
	}
	public void setLevel(Level level) {
		this.level = level;
	}
	public List<Scheduling> getScheduling() {
		return scheduling;
	}

	public void setScheduling(List<Scheduling> scheduling) {
		this.scheduling = scheduling;
	}

	public Integer getLoginErrorTimes() {
		return loginErrorTimes;
	}

	public void setLoginErrorTimes(Integer loginErrorTimes) {
		this.loginErrorTimes = loginErrorTimes;
	}

	public Date getIdCreatTime() {
		return idCreatTime;
	}

	public void setIdCreatTime(Date idCreatTime) {
		this.idCreatTime = idCreatTime;
	}

	public Date getPwCreatTime() {
		return pwCreatTime;
	}

	public void setPwCreatTime(Date pwCreatTime) {
		this.pwCreatTime = pwCreatTime;
	}

	public Integer getUser_flag() {
		return user_flag;
	}

	public void setUser_flag(Integer user_flag) {
		this.user_flag = user_flag;
	}

	
		
}